package com.ahp.bean;

/**
 * ModuleFactor entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class ModuleFactor implements java.io.Serializable {
	/**
	 * 因子Bean
	 */
	// Fields

	private ModuleFactorId id;
	private Module module;
	private Factor factor;

	// Constructors

	/** default constructor */
	public ModuleFactor() {
	}

	/** minimal constructor */
	public ModuleFactor(ModuleFactorId id) {
		this.id = id;
	}

	/** full constructor */
	public ModuleFactor(ModuleFactorId id, Module module, Factor factor) {
		this.id = id;
		this.module = module;
		this.factor = factor;
	}

	// Property accessors

	public ModuleFactorId getId() {
		return this.id;
	}

	public void setId(ModuleFactorId id) {
		this.id = id;
	}

	public Module getModule() {
		return this.module;
	}

	public void setModule(Module module) {
		this.module = module;
	}

	public Factor getFactor() {
		return this.factor;
	}

	public void setFactor(Factor factor) {
		this.factor = factor;
	}

}